﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="QualityRPT.AirwirePlaza.index" %>
<%@ Register TagPrefix="uc1" TagName="clheader" Src="../include/cl_header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="cltop" Src="../include/cl_top.ascx" %>
<%@ Register TagPrefix="uc1" TagName="clleft" Src="../include/cl_left.ascx" %>
<%@ Register TagPrefix="uc1" TagName="clfooter" Src="../include/cl_footer.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>ETC产品质量跟踪统计系统-天线信息</title>
    <uc1:clheader id="clheader" runat="server"/>
</head>
<body>
  <uc1:cltop id="cltop" runat="server"/>
  <div class="container-fluid">
    <div class="row-fluid">
        <uc1:clleft id="clleft" runat="server"/>
         <!-- this is content start-->
        <form id="Form1" runat="server">
         <div class="box span10">
			<div class="box-header well">
				<h2><i class="icon-th"></i>天线信息</h2>
			</div>
            <div class="box-content" style=" float:left">
                <div style="clear:both; margin:6px;">
                    <input type="hidden" id="h_spin" name="h_spin" />
                    <input type="hidden" id="h_cnin" name="h_cnin"/>
                </div>
                <div style="clear:both;height:12px;"></div>
                <asp:Label ID="Label3" runat="server" Text="生产厂家："></asp:Label>
                <select id="ajax_spin" multiple="true" class="mulselect" runat="server"></select>
                <asp:Button ID="ButtonQ" runat="server" Text="查询" CssClass="botton" OnClick="ButtonQ_Click" />
                <asp:Button ID="ButtonAdd" runat="server" Text="新增" CssClass="botton" OnClick="ButtonAdd_Click" />
                <div style="clear:both;height:12px;"></div>
            </div>
         </div>
         </form>
         <div class="box span10">
					<div class="box-header well">
						<h2><i class="icon-th"></i>天线信息查询-<span id="span_t_consume" runat="server"></span></h2>
					</div>
					<div class="box-content">
						<div id="myTabContent">
                            <div id="tcData">
							    <table id="tbDetail" class="table table-bordered bootstrap-datatable datatable">
						        <thead>
							        <tr>
								        <th>广场号</th>
								        <th>广场</th>
                                        <th>路段号</th>
                                        <th>路段</th>
                                        <th>车道号</th>
                                        <th>模式</th>
                                        <th>厂商</th>
                                        <th>厂商号</th>
                                        <th>类型</th>
                                        <th>型号</th>
                                        <th>简称</th>
                                        <th>硬件</th>
                                        <th>软件</th>
                                        <th>开始</th>
                                        <th>结束</th>
                                        <th style="width:60px;">操作</th>
							        </tr>
						        </thead>   
						        <tbody>
                                <asp:Repeater ID="repeater_data" runat="server">
                                <ItemTemplate>
                                    <tr>
								    <td class="center"><%# DataBinder.Eval(Container.DataItem, "PLAZA_ID")%></td>
								    <td class="center"><%# DataBinder.Eval(Container.DataItem, "PLAZA_NAME")%></td>
                                    <td class="center"><%# DataBinder.Eval(Container.DataItem, "ROAD_ID")%></td>
                                    <td class="center"><%# DataBinder.Eval(Container.DataItem, "ROAD_NAME")%></td>
                                    <td class="center"><%# DataBinder.Eval(Container.DataItem, "LANE_NO")%></td>
                                    <td class="center"><%# DataBinder.Eval(Container.DataItem, "LANE_MODE")%></td>
                                    <td class="center"><%# DataBinder.Eval(Container.DataItem, "AIRWIRE_SUPPLIER_NAME")%></td>
                                    <td class="center"><%#QualityRPT.AppTools.GetSupShortName(DataBinder.Eval(Container.DataItem, "AIRWIRE_SUPPLIER_NAME"))%></td>
                                    <td class="center"><%# DataBinder.Eval(Container.DataItem, "AIRWIRE_TYPE")%></td>
                                    <td class="center"><%# DataBinder.Eval(Container.DataItem, "AIRWIRE_SPEC_NAME")%></td>
                                    <td class="center"><%#QualityRPT.AppTools.GetSpecShortName(DataBinder.Eval(Container.DataItem, "AIRWIRE_SPEC_NAME"))%></td>
                                    <td class="center"><%# DataBinder.Eval(Container.DataItem, "AIRWIRE_SOFTVERSION")%></td>
                                    <td class="center"><%# DataBinder.Eval(Container.DataItem, "AIRWIRE_HARDVERSION")%></td>
                                    <td class="center"><%# DataBinder.Eval(Container.DataItem, "START_TIME","{0:yyyy-MM-dd}")%></td>
                                    <td class="center"><%# DataBinder.Eval(Container.DataItem, "END_TIME", "{0:yyyy-MM-dd}")%></td>
                                    <td class="center"><a href="edit.aspx?id=<%# DataBinder.Eval(Container.DataItem, "ID")%>&pid=<%=Request.Params["pid"] %>&cid=<%=Request.Params["cid"] %>">修改</a>
                                    &nbsp;&nbsp;<a onclick="return confirm('确定要删除该天线配置信息么？');" href="del.aspx?id=<%# DataBinder.Eval(Container.DataItem, "ID")%>&pid=<%=Request.Params["pid"] %>&cid=<%=Request.Params["cid"] %>">删除</a>
                                    </td>
							    </tr>
                                </ItemTemplate>
                                </asp:Repeater>
                                </tbody>
                            </table>
                            <div class="pager"><%=PagerHtml %></div>
							</div>
                            </div>
						</div>
					</div>
                    </div>		
         <!-- content end-->
    </div>
  <uc1:clfooter id="clfooter" runat="server"/>
</body>
</html>


